﻿<UserControl x:Class="SGTLightAccent.Plantillas.PlantillaReporteRemitos"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="734" d:DesignWidth="672"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    DataContext="{Binding Clientes, Source={StaticResource Locator}}">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <sdk:DataGrid AutoGenerateColumns="False"  ItemsSource="{Binding Path=RemitosPaginado}" x:Name="dataGrid2"  SelectionMode="Single" SelectedItem="{Binding Path=RemitoSeleccionado, Mode=TwoWay}" >
            <sdk:DataGrid.Columns>
                <sdk:DataGridTextColumn Binding="{Binding Path=Numero_Remito_Carga}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="N° Remito" Width="100" IsReadOnly="True" />
                <sdk:DataGridTextColumn Binding="{Binding Path=Matricula_Camion}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="MAT" Width="80" IsReadOnly="True" />
                <sdk:DataGridTextColumn Binding="{Binding Path=Hora_Salida}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="Salida" Width="135*" IsReadOnly="True" />
                <sdk:DataGridTextColumn Binding="{Binding Path=Hora_Llegada}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="Llegada" Width="135*" IsReadOnly="True" />

                <sdk:DataGridTextColumn Binding="{Binding Path=PesoNeto}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="Peso Neto" Width="110" IsReadOnly="True"/>
                <sdk:DataGridTextColumn Binding="{Binding Path=Deposito.Nombre, Mode=OneWay}" CanUserReorder="True" CanUserResize="True" CanUserSort="True" Header="Deposito" Width="125" IsReadOnly="True" />
            </sdk:DataGrid.Columns>



        </sdk:DataGrid>

    </Grid>
</UserControl>
